package com.travel.user.dao;



import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import com.travel.user.entity.User;

/**
 * @classDesc: 功能描述:()
 * @author:<a href="leeue@foxmail.com">李月</a>
 * @Version:v1.0
 * @createTime:2019年2月24日 下午5:29:26 
 */
@Repository
public interface UserDao extends JpaRepository<User, Long>{
	
	public User findByNameAndPasswordAndRole(String name,String password,String role);
	
	public User findByName(String name);
	
	
	
}
